﻿using System;
using System.Collections.Generic;
//using System.Linq;
using System.Text;

namespace Homework2
{
    class Program
    {
        static void Main(string[] args)
        {
            string numbers;
            Console.WriteLine("Напишите три числа.");
            numbers = Console.ReadLine();

            string[] array = numbers.Split(' ', ',');

            string number1 = array[0];
            string number2 = array[1];
            string number3 = array[2];

            Console.WriteLine("{2}, {1}, {0}", number1, number2, number3);

            Console.ReadKey();


        }
    }
}
